//
//  TSSTCRTProgressBar.h
//  iTunesProgress
//
//  Created by Alexander Rauchfuss on 7/14/07.
//  Copyright 2007 Dancing Tortoise Software. All rights reserved.
//

#import <Cocoa/Cocoa.h>

@protocol TSSTProgressBarDataSourceProto


@end


@interface TSSTCRTProgressBar : NSView
{
    int maxValue;
    int currentValue;
    BOOL leftToRight;
    NSRect progressRect;
	float progressBarHorizontalMargin;
}


- (void)setProgressBarHorizontalMargin:(float)hMargin;
- (float)progressBarHorizontalMargin;

- (BOOL)leftToRight;
- (void)setLeftToRight:(BOOL)direction;

- (int)maxValue;
- (void)setMaxValue:(int)value;

- (int)currentValue;
- (void)setCurrentValue:(int)value;

- (void)setProgressRect:(NSRect)rect;
- (NSRect)progressRect;

- (int)indexForPoint:(NSPoint)point;

@end
